package com.tlias.mapper;

import com.tlias.pojo.Dept;
import com.tlias.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;
@Mapper
public interface DeptMapper {
//查找
  public List<Dept> findAllDept();
//删除
void deleteById(Integer id);
//添加
  void addDept(Dept dept);
//更改
  void updateDept(Dept dept);


//id查找
Dept findByIdDept(Integer id);


}



